package com.cos.shop.dao;

import com.cos.shop.common.ResponseResult;
import com.cos.shop.entity.Product;
import com.cos.shop.vo.CartVo;

import java.sql.SQLException;
import java.util.List;

/**
 * @author: COS
 * @time: 2023/5/11 10:11
 * @description:
 */
public interface ProductDao {

    Long getProCount(int typeId) throws SQLException;

    List<Product> getProByPageWithTypeId(int typeId, int rowStart, int pageSize) throws SQLException;

    Product getGoodsById(int id) throws SQLException;

}
